import request from '@/common/request';

// 是否登录状态
export function isLogin(params) {
  return request({
    url: '/auth/Member/IsLogin',
    method: 'GET',
    params,
  });
}

// 获取用户信息
export function getMemberInfo(params) {
  return request({
    url: '/app/Member/MemberInfo',
    method: 'GET',
    params,
  });
}

//登录
export function memberLogin(data) {
  return request({
    url: '/auth/Member/Token',
    method: 'GET',
    data,
  });
}
